package com.newviews.tcmip.service.inf;

import com.newviews.tcmip.common.model.PageModel;
import com.newviews.tcmip.common.model.ResultModel;
import com.newviews.tcmip.pojo.po.EtcmPxHerbPo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.newviews.tcmip.web.vo.etcmpx.PxHerbStatisticsRespVo;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 处方-中草药关系表 服务类
 * </p>
 *
 * @author lxc
 * @since 2024-03-01
 */
public interface EtcmPxHerbServiceInf extends IService<EtcmPxHerbPo> {
    ResultModel<PageModel<Map<String,String>>> getInfo(String prescriptionId,String content,String herbMeridians,String herbProperty,String herbFlavor,String sortType, String uiTypeCode, String langCode, Integer pageNo, Integer pageSize);

//    List<Map<String,String>> getPxHerbList(String prescriptionId,String content,String herbType,String herbProperty,String herbFlavor, String uiTypeCode, String langCode);

    List<Map<String,String>> getIngredientList(String metabolicStability, String TransportMode, String halfLifePeriod,String content, String langCode, String uiTypeCode, String prescriptionId);

    List<Map<String,String>> getTarget( String targetType,String content, String langCode, String uiTypeCode, String prescriptionId);

    ResultModel<PxHerbStatisticsRespVo> herbStatistics(String prescriptionId, String content, String uiTypeCode, String langCode,String herbMeridians,String herbProperty,String herbFlavor);

    List<Map<String, String>> getPxHerbDownload(String pxId, String herbFlavor, String herbProperty, String herbMeridians, String content, String langCode, String uiTypeCode, String sortType);
}
